<html>
<body>
<table width="100" border="4">
  <tr>
    <td width="200" id="td">
    </td>
  </tr>
</table>
<script>
document.body.offsetWidth;
document.getElementById("td").setAttribute("nowrap", "nowrap");
</script>
</body>
</html>
